<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="仓鼠的个人官网 - 一枚全栈开发工程师的网站。分享学习生涯的成果，包含程序员专业知识、部落仓鼠工具、仓鼠博客和API服务。">
    <meta name="keywords" content="仓鼠,Java程序员,部落冲突机器人,博客,API服务,编程工具">
    <!-- 微信/QQ分享优化 -->
    <meta itemprop="name" content="部落冲突仓鼠工具">
    <meta itemprop="image" content="https://www.yzycoc.com/i/10">
    <meta name="description" itemprop="description" content="">

    <title>仓鼠的个人官网 | 一枚程序猿的网站</title>

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="preload" href="styles.css" as="style">
    <link rel="stylesheet" href="styles.css">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet">
    <style>
        /* 基础样式 */
        :root {
            --primary-color: #6c5ce7;
            --secondary-color: #00cec9;
            --accent-color: #fd79a8;
            --dark-color: #2c3e50;
            --light-color: #f8f9fa;
            --text-color: #2d3436;
            --text-light: #636e72;
            --background-color: #fff;
            --card-bg: #f5f6fa;
            --grid-color: rgba(106, 90, 205, 0.05);
            --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --highlight-color: #ff6b6b;
            --font-main: 'Noto Sans SC', sans-serif;
            --header-back: rgba(0, 0, 0, 0.3);
            --header-title: #f5f6fa;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-main);
            color: var(--text-color);
            background-color: var(--background-color);
            overflow-x: hidden;
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 30px;
            font-weight: 500;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            outline: none;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background-color: #5a4acd;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(106, 90, 205, 0.3);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background-color: var(--primary-color);
            border: 2px solid var(--primary-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(106, 90, 205, 0.3);
        }

        .highlight {
            color: var(--highlight-color);
            font-weight: 700;
        }

        /* 网格背景 */
        .grid-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: 30px 30px;
            z-index: -1;
            opacity: 0;
            transition: opacity 1s ease;
        }

        .grid-bg.loaded {
            opacity: 1;
        }

        /* 英雄区域 - 重新设计 */
        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
            background-image:
                linear-gradient(var(--grid-color) 1px, transparent 1px),
                linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
            background-size: cover;
            padding: 80px 0;
        }

        .hero.clear-after::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--header-back);
            z-index: 1;
        }

        .hero-content {
            display: flex;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
            gap: 50px;
            align-items: center;
        }

        .hero-left {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .hero-right {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-image {
            max-width: 100%;
            height: auto;
            max-height: 400px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            transform: perspective(1000px) rotateY(-10deg);
            transition: all 0.5s ease;
        }


        .hero-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            animation: shimmer 2s infinite linear;
            background-size: 1000px 100%;
        }

        .title {
            font-size: 3.5rem;
            margin-bottom: 20px;
            line-height: 1.2;
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }

        .subtitle {
            font-size: 1.5rem;
            color: var(--text-light);
            margin-bottom: 30px;
        }

        .cta-buttons {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        /* 重新设计的滚动指示器 */
        .scroll-down-container {
            position: absolute;
            bottom: 40px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            z-index: 3;
        }

        .scroll-down {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--primary-color);
            animation: bounce 2s infinite;
            cursor: pointer;
        }

        .scroll-down i {
            margin-top: 10px;
            font-size: 1.5rem;
        }

        @keyframes bounce {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateY(0);
            }

            40% {
                transform: translateY(-10px);
            }

            60% {
                transform: translateY(-5px);
            }
        }

        /* 打字动画 */
        .animate-typing {
            position: relative;
        }

        .animate-typing::after {
            content: '|';
            position: absolute;
            right: -10px;
            animation: blink 1s infinite;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
                gap: 30px;
            }

            .hero-left {
                align-items: center;
            }

            .cta-buttons {
                justify-content: center;
            }

            .title {
                font-size: 2.5rem;
            }

            .subtitle {
                font-size: 1.2rem;
            }

            .hero-image {
                max-height: 300px;
            }
        }

        @media (max-width: 576px) {
            .title {
                font-size: 2rem;
            }

            .subtitle {
                font-size: 1rem;
            }

            .cta-buttons {
                flex-direction: column;
                gap: 10px;
            }

            .btn {
                padding: 10px 20px;
            }
        }
    </style>
</head>

<body>
    <!-- 动态网格背景（初始状态） -->
    <div class="grid-bg" id="gridBg"></div>

    <!-- 主内容 -->
    <div class="content" id="content">
        <!-- 英雄区域 -->
        <header class="hero clear-after">
            <div class="hero-content">
                <div class="hero-left">
                    <h1 class="title animate-typing">仓鼠的个人官网</h1>
                    <p class="subtitle">一枚<span
                            class="highlight">&emsp;程序猿&emsp;</span>分享学习生涯的成果，包含程序员专业知识、部落仓鼠工具、仓鼠博客和API服务。</p>
                    <div class="cta-buttons">
                        <a href="#projects" class="btn btn-primary">查看作品</a>
                        <a href="https://yzycoc.com/qq" class="btn btn-secondary" target="_blank">访问部落工具</a>
                        <a href="https://yzycoc.com/blog" class="btn btn-secondary" target="_blank">访问博客</a>
                    </div>
                </div>
                <div class="hero-right">
                    <img src="https://via.placeholder.com/500x400" alt="仓鼠形象" class="hero-image">
                </div>
            </div>
        </header>

        <!-- 滚动指示器 -->
        <div class="scroll-down-container">
            <a href="#about" class="scroll-down">
                <i class="fas fa-chevron-down"></i>
            </a>
        </div>


    </div>

    <!-- Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=GA_MEASUREMENT_ID"></script>
    <script>

    </script>
</body>

</html>